ERROR: Key not found. ERROR: Fatal ODS error has occurred. Unable to continue processing this output destination.
A PDF file is produced, but no images are written to the file.
You must remove the ODS LAYOUT statements or remove the style change between the two procedures in order to prevent the error.
The sample code below reproduces the error.
data planets; input planet $ distance; datalines; Mercury 43.4 Venus 68 Earth 94.5 Mars 155 ; run; quit; ods pdf style=styles.sasweb file="test.pdf"; ods layout start rows=2; proc gchart data=planets; vbar3d planet / sumvar=distance subgroup=planet raxis=axis1 nolegend sum ; axis1 label=("Millions of Miles"); run; ods pdf style=styles.journal; proc gchart data=planets; vbar3d planet / sumvar=distance subgroup=planet raxis=axis1 nolegend sum ; run; quit; ods layout end; ods _all_ close; ods preferences; |
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | z/OS | 9.3 TS1M2 | 9.4 TS1M1 |
Z64 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft® Windows® for x64 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M2 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M2 | |||
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M2 | |||
Microsoft Windows Server 2003 for x64 | 9.3 TS1M2 | |||
Microsoft Windows Server 2008 | 9.3 TS1M2 | |||
Microsoft Windows Server 2008 R2 for x64 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2008 for x64 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows XP Professional | 9.3 TS1M2 | |||
Windows 7 Enterprise 32 bit | 9.3 TS1M2 | |||
Windows 7 Enterprise x64 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Home Premium 32 bit | 9.3 TS1M2 | |||
Windows 7 Home Premium x64 | 9.3 TS1M2 | |||
Windows 7 Professional 32 bit | 9.3 TS1M2 | |||
Windows 7 Professional x64 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Ultimate 32 bit | 9.3 TS1M2 | |||
Windows 7 Ultimate x64 | 9.3 TS1M2 | |||
Windows Vista | 9.3 TS1M2 | |||
Windows Vista for x64 | 9.3 TS1M2 | |||
64-bit Enabled AIX | 9.3 TS1M2 | 9.4 TS1M1 | ||
64-bit Enabled HP-UX | 9.3 TS1M2 | 9.4 TS1M1 | ||
64-bit Enabled Solaris | 9.3 TS1M2 | 9.4 TS1M1 | ||
HP-UX IPF | 9.3 TS1M2 | 9.4 TS1M1 | ||
Linux | 9.3 TS1M2 | 9.4 TS1M1 | ||
Linux for x64 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Solaris for x64 | 9.3 TS1M2 | 9.4 TS1M1 |